<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="utf-8">    
        
        <title><?php echo CHtml::encode($this->pageTitle); ?></title>
        
        <!-- HTML5 shim, for IE6-8 support of HTML elements -->
        <!--[if lt IE 9]>
          <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
        <![endif]-->

        <!-- Stylesheets -->
        <link rel="stylesheet" href="<?php echo Yii::app()->request->baseUrl; ?>/css/bootstrap.min.css">
        <!--<link rel="stylesheet" href="<?php //echo Yii::app()->request->baseUrl; ?>/css/bootstrap.min.responsive.css">-->
        <link rel="stylesheet" href="<?php echo Yii::app()->request->baseUrl; ?>/css/main.css">
    </head>
    <body role="application" class="<?php echo (Yii::app()->user->isGuest) ? 'guest' : 'authenticated';?>">
        <?php echo $content; ?>
        
        <?php Yii::app()->clientScript->registerPackage('bootstrap-min'); ?>
    </body>
</html>
